package com.geek.morning;

import java.util.Scanner;

/**
 * @author SunBingJian
 * @desc TODO
 * @date 2025/9/2
 */
public class IFDemo {

    public static void main(String[] args) {

        //创建对象
        Scanner scanner = new Scanner(System.in);
        //输入第一个数字
        System.out.println("请输入第一个数字：");
        int a = scanner.nextInt();

        //输入第二个数字
        System.out.println("请输入第二个数字：");
        int b = scanner.nextInt();

        //比较两数大小
        if(a > b){
            System.out.println("a > b");
        } else if(a < b){
            System.out.println("a < b");
        } else {
            System.out.println("a = b");
        }

    }
}
